package com.example.base.entity;

import org.springframework.stereotype.Component;

@Component
public class Dormitory {
    private Integer buildingId;
    private Integer remains;

    @Override
    public String toString() {
        return "Dormitory{" +
                "buildingId=" + buildingId +
                ", remains=" + remains +
                '}';
    }

    public Integer getBuildingId() {
        return buildingId;
    }

    public void setBuildingId(Integer buildingId) {
        this.buildingId = buildingId;
    }

    public Integer getRemains() {
        return remains;
    }

    public void setRemains(Integer remains) {
        this.remains = remains;
    }
}
